<include file="Public:head" title="用户列表"/>
<div class="main-container" id="main-container">
    <div class="main-container-inner">
        <include file="Public:left" />
        <div class="main-content">
            <div class="breadcrumbs" id="breadcrumbs">
                <ul class="breadcrumb">
                    <li><i class="icon-home home-icon"></i><a href="__APP__/{$Think.MODULE_NAME}">首页</a></li>
                    <li><a>任务管理</a></li>
                    <li class="active">任务列表</li>
                </ul>
            </div>
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="row">
                            <div class="col-xs-12">
                                <div class="header smaller lighter blue">
                                    <div class="nav-search col-xs-10" id="nav-search">
                                        <form class="form-search" method="get" action="">
                                            <div class="search_area">
                                                <input class="form-control search-query" type="text" name="orderno" autocomplete="off"  placeholder="请输入订单编号" value="{$Think.get.orderno}">
                                                <select name="status" id="status" autocomplete="off" style="width:120px;">
                                                    <option value=""  >全部</option>
                                                    <option value="0" <if condition="$Think.get.status eq 0 "> selected</if> >新建</option>
                                                    <option value="1" <if condition="$Think.get.status eq 1 "> selected</if> >进行中</option>
                                                    <option value="2" <if condition="$Think.get.status eq 2 "> selected</if> >已解决</option>
                                                </select>
                                                <input class="form-control search-query" type="text" name="keyword" autocomplete="off"  placeholder="请输入关键字" value="{$Think.get.keyword}">
                                                <button class="btn btn-purple btn-sm" type="submit">搜 索 <i class="icon_search icon-on-right bigger-110"></i></button>
                                            </div>
                                        </form>
                                    </div>
                                    <div class='cl'></div>
                                </div>
                                <notempty name='tasklist'>
                                    <div class="table-responsive">
                                        <table id="sample-table-1" class="table table-striped table-bordered table-hover">
                                            <thead>
                                                <tr>
                                                    <th width='20px' class="center">序号</th>
                                                    <th style="width:120px;">任务名称</th>
                                                    <th style="width:60px;">订单编号</th>
                                                    <th style="width:80px;">qq</th>
                                                    <th style="width:80px;">电话</th>
                                                    <th style="width:120px;">指派给</th>
                                                    <th style="width:130px;">任务状态</th>
                                                    <th style="width:130px;">受理时间</th>
                                                    <th style="width:130px;">创建时间</th>
                                                    <th width="120px">操作</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                            <foreach name="tasklist" item="row">
                                                <tr>

                                                    <td class="center">{$row.id}</td>
                                                     <td style="text-align: left">{$row.task_name}</td>
                                                     <td style="text-align: left">{$row.order_no}</td>
                                                     <td style="text-align: left">{$row.qq}</td>
                                                     <td style="text-align: left">{$row.mobile}</td>
                                                     <td style="text-align: left">{$row.nickname}</td>
                                                     <td style="text-align: left">{$row.status|getTaskstatus}</td>
                                                     <td style="text-align: left">{$row.processing_time}</td>
                                                     <td style="text-align: left">{$row.create_time}</td>
                                                     <td style="text-align: left">
                                                         <a href="{:U('Taskwork/taskdetails',array('id'=>$row['id']))}" class="btn btn-minier btn-yellow">查看任务</a>
                                                     </td>

                                                </tr>
                                            </foreach>
                                            </tbody>
                                        </table>
                                    </div>
                                    <div id="grid-pager" class="ui-state-default  ui-corner-bottom" dir="ltr">
                                        <table width='100%' data-table='user'  id='modal_del_table'>
                                            <tr>
                                                <td>
                                                </td>
                                                <td class='td_pager'><div class='pager'>{$page}</div></td>
                                            </tr>
                                        </table>
                                    </div>
                                    <else/>
                                    <p class='noempty'>暂无数据</p>
                                </notempty>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <include file="Public:setting" />
    </div>
</div>

<include file="Public:foot" />
<script type="text/javascript" src="/Public/plugins/layer/layer.js"></script>
<script type="text/javascript">

</script>